<!-- 涉案嫌疑人(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox">

	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="涉案嫌疑人信息" />
	<ui:param name="xyr" value="#{commonContentViewBean}" />
	<ui:param name="compToggleable" value="true" />
	<ui:param name="pvb" value="#{commonContentViewBean.parent}" />

	<ui:define name="compHiddens">

	</ui:define>

	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="ifzxyr" />
				<ui:param name="compBean2Id" value="sxyj" />
				<ui:param name="compBean1Lable" value="是否主嫌疑人" />
				<ui:param name="compBean2Lable" value="涉嫌依据" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="ifzxyr"
						codeSetId="id_c_sfzxyr" value="#{xyr.fields.ismaincri}"
						formId="#{commonContentViewBean.id}_form" />

				</ui:define>

				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="sxyj" codeSetId="id_c_xyyj"
						value="#{xyr.fields.susdepend}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xyrlx" />
				<ui:param name="compBean2Id" value="ryxsqk" />
				<ui:param name="compBean1Lable" value="嫌疑人类型" />
				<ui:param name="compBean2Lable" value="人员现实情况" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="xyrlx" codeSetId="id_c_salx"
						value="#{xyr.fields.cstype}"
						formId="#{commonContentViewBean.id}_form" />

				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="ryxsqk"
						codeSetId="id_c_ryxszk" value="#{xyr.fields.currstatus}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第三行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xm" />
				<ui:param name="compBean2Id" value="xb" />
				<ui:param name="compBean1Lable" value="姓名" />
				<ui:param name="compBean2Lable" value="性别" />

				<ui:define name="compBean1Content">
					<h:inputText id="xm" value="#{xyr.fields.name}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="xb" codeSetId="id_c_xb"
						value="#{xyr.fields.sex}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bm" />
				<ui:param name="compBean2Id" value="ch" />
				<ui:param name="compBean1Lable" value="别名" />
				<ui:param name="compBean2Lable" value="绰号" />

				<ui:define name="compBean1Content">
					<h:inputText id="bm" value="#{xyr.fields.aliasname}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="ch" value="#{xyr.fields.nickname}" />
				</ui:define>
			</ui:decorate>

			<!-- 第五行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="csrq" />
				<ui:param name="compBean2Id" value="mz" />
				<ui:param name="compBean1Lable" value="出生日期" />
				<ui:param name="compBean2Lable" value="名族" />

				<ui:define name="compBean1Content">
					<p:calendar id="csrq" size="33" mode="popup"
						showOn="button" value="#{xyr.fields.birthday}"
						pattern="yyyy年MM月d日 " locale="zh" popupIconOnly="true" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="mz" codeSetId="id_c_mz"
						value="#{xyr.fields.nation}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第六行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="sfzh" />
				<ui:param name="compBean2Id" value="lxdh" />
				<ui:param name="compBean1Lable" value="身份证号" />
				<ui:param name="compBean2Lable" value="联系电话" />

				<ui:define name="compBean1Content">
					<h:inputText id="sfzh" value="#{xyr.fields.idcardno}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="lxdh" value="#{xyr.fields.tel}" />
				</ui:define>
			</ui:decorate>

			<!-- 第七行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="whcd" />
				<ui:param name="compBean2Id" value="zzmm" />
				<ui:param name="compBean1Lable" value="文化程度" />
				<ui:param name="compBean2Lable" value="政治面貌" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="whcd" codeSetId="id_c_whcd"
						value="#{xyr.fields.culture}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="zzmm" codeSetId="id_c_zzmm"
						value="#{xyr.fields.politics}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第八行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="zhiwu" />
				<ui:param name="compBean2Id" value="zhiye" />
				<ui:param name="compBean1Lable" value="职务" />
				<ui:param name="compBean2Lable" value="职业" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="zhiwu" codeSetId="id_c_zw"
						value="#{xyr.fields.headship}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="zhiye" codeSetId="id_c_zy"
						value="#{xyr.fields.job}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>


			<!-- 第九行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="chushengquhua" />
				<ui:param name="compBean1Lable" value="出生区划" />
				<ui:param name="compBean2Id" value="hunfou" />
				<ui:param name="compBean2Lable" value="婚姻状况" />
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="chushengquhua"
						codeSetId="id_c_sz_xzqh" value="#{xyr.fields.chushengquhua}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="hunfou" codeSetId="id_c_hyzk"
						value="#{xyr.fields.ifmarry}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第九行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="tssf" />
				<ui:param name="compBean2Id" value="zjxy" />
				<ui:param name="compBean1Lable" value="特殊身份" />
				<ui:param name="compBean2Lable" value="宗教信仰" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="tssf" codeSetId="id_c_tssf"
						value="#{xyr.fields.specialidentity}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="zjxy" codeSetId="id_c_zjxy"
						value="#{xyr.fields.faith}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第十行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="sjch" />
				<ui:param name="compBean1Lable" value="手机串号" />

				<ui:define name="compBean1Content">
					<h:inputText id="sjch" value="#{xyr.fields.cjch}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="ky" />
				<ui:param name="compBean2Id" value="jggj" />
				<ui:param name="compBean1Lable" value="口音" />
				<ui:param name="compBean2Lable" value="国籍" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="ky" codeSetId="id_c_sz_ky"
						value="#{xyr.fields.accent}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="jggj" codeSetId="id_c_gj"
						value="#{xyr.fields.nationality}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第十二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="csqh" />
				<ui:param name="compBean2Id" value="cszz" />
				<ui:param name="compBean1Lable" value="出生区划" />
				<ui:param name="compBean2Lable" value="出生住址" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="csqh"
						codeSetId="id_c_sz_xzqh" value="#{xyr.fields.chushengquhua}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="cszz" value="#{xyr.fields.chushengdizhi}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十三行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="hjqh" />
				<ui:param name="compBean2Id" value="hjzz" />
				<ui:param name="compBean1Lable" value="户籍区划" />
				<ui:param name="compBean2Lable" value="户籍住址" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="hjqh"
						codeSetId="id_c_sz_xzqh" value="#{xyr.fields.nativeplace}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="hjzz" value="#{xyr.fields.hjzz}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="xzqh" />
				<ui:param name="compBean2Id" value="xzdz" />
				<ui:param name="compBean1Lable" value="现住区划" />
				<ui:param name="compBean2Lable" value="现住地址" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="xzqh"
						codeSetId="id_c_sz_xzqh" value="#{xyr.fields.xianzhuquhua}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="xzdz" value="#{xyr.fields.xianzhudizhi}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十五行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="gzdw" />
				<ui:param name="compBean2Id" value="dwdz" />
				<ui:param name="compBean1Lable" value="工作单位" />
				<ui:param name="compBean2Lable" value="单位地址" />

				<ui:define name="compBean1Content">
					<h:inputText id="gzdw" value="#{xyr.fields.danwei}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="dwdz" value="#{xyr.fields.danweidizhi}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十六行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="qqhm" />
				<ui:param name="compBean2Id" value="dzyx" />
				<ui:param name="compBean1Lable" value="QQ号码" />
				<ui:param name="compBean2Lable" value="电子邮箱" />

				<ui:define name="compBean1Content">
					<h:inputText id="qqhm" value="#{xyr.fields.qq}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="dzyx" value="#{xyr.fields.email}" />
				</ui:define>
			</ui:decorate>

			<!-- 第十七行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="sg" />
				<ui:param name="compBean2Id" value="xx" />
				<ui:param name="compBean1Lable" value="身高" />
				<ui:param name="compBean2Lable" value="血型" />

				<ui:define name="compBean1Content">
					<h:inputText id="sg" value="#{xyr.fields.stature}" />厘米
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="xx" codeSetId="id_c_sz_xx"
						value="#{xyr.fields.bloodtype}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第十八行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="tx" />
				<ui:param name="compBean2Id" value="tz" />
				<ui:param name="compBean1Lable" value="体型" />
				<ui:param name="compBean2Lable" value="体重" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="tx" codeSetId="id_c_sz_tx"
						value="#{xyr.fields.bodilyform}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="tz" value="#{xyr.fields.avoirdupois}" />公斤
				</ui:define>
			</ui:decorate>

			<!-- 第十九行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="dnabh" />
				<ui:param name="compBean1Lable" value="DNA编号" />
				<ui:param name="compBean2Id" value="ifjydna" />
				<ui:param name="compBean2Lable" value="是否检验DNA" />
				<ui:define name="compBean1Content">
					<h:inputText id="dnabh" value="#{xyr.fields.dnabiaohuao}" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="ifjydna"
						codeSetId="id_c_sz_ifdna" value="#{xyr.fields.istestdna}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="ifcandrive" />
				<ui:param name="compBean1Lable" value="是否会驾驶" />
				<ui:param name="compBean2Id" value="ifshangwang" />
				<ui:param name="compBean2Lable" value="是否经常上网" />

				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="ifcandrive"
						codeSetId="id_c_sf" value="#{xyr.fields.ifdrive}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
				<ui:define name="compBean2Content">
					<sinox:codeSetInputTree id="ifshangwang"
						codeSetId="id_c_sf" value="#{xyr.fields.ifoftennet}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>

			<!-- 第二十一行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="gxs" />
				<ui:param name="compBean1Lable" value="管辖所" />

				<ui:define name="compBean1Content">
					<h:inputText id="gxs" value=" " />
				</ui:define>
			</ui:decorate>

			<!-- 第二十二行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="sh" />
				<ui:param name="compBean1Lable" value="嗜好" />

				<ui:define name="compBean1Content">
					<h:inputText id="sh" value=" " />
				</ui:define>
			</ui:decorate>

			<!-- 第二十三行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="beizhu" />
				<ui:param name="compBean1Lable" value="备注" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:100%;height:100px;overflow:auto;"
						id="beizhu" effectDuration="400" value=" " />
				</ui:define>
			</ui:decorate>

			<!-- 第二十四行 -->
			<ui:decorate
				template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="wfssyj" />
				<ui:param name="compBean1Lable" value="违法事实及依据" />

				<ui:define name="compBean1Content">
					<h:inputTextarea style="width:100%;height:100px;overflow:auto;"
						id="wfssyj" effectDuration="400" value=" " />
				</ui:define>
			</ui:decorate>
		</ui:decorate>

	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			 title="保存"
				onstart="return SinoPortal.Validation.validateForm('#{compId}_form')"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/add.png" value="保存" style="margin:5px;">
				<h:inputHidden value="#{commonContentViewBean.id}" />
				<h:inputHidden value="#{pvb.id}" />
			</p:commandButton>
		
			<p:commandButton
			 	title="重置"
				onstart="this.disabled=true"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				oncomplete="btnAction('#{pvb.id}','涉案嫌疑人信息','740','500','icons/cog_add.png','add','duty-case-scene','case_i_xyr');"
				image="./img/icons/add.png" value="重置" style="margin:5px;">
				
			</p:commandButton>

		<p:commandButton
		 title="取消" onstart="this.disabled=true"
			onclick="#{commonContentViewBean.id}_dialog.hide();"
			image="ui-icon-disk" value="取消">
		</p:commandButton>
	</ui:define>
</ui:composition>
